package com.hs.lin.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lin GongZi
 * @since 2022-06-13
 */
@TableName("t_exception_registration")
public class ExceptionRegistration implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 异常单号
     */
    @TableId(value = "id")
    private String id;

    /**
     * 异常类型
     */
    private String exceptionType;

    /**
     * 反馈人
     */
    private String name;

    /**
     * 反馈方式
     */
    private String feedbackMode;

    /**
     * 发现时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date discoveryTime;

    /**
     * 反馈时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 异常说明
     */
    private String exceptionDesc;

    /**
     * 处理进度
     */
    private String processingProgress;

    /**
     * 当前节点
     */
    @TableField(exist = false)
    private String dispatchNode;

    /**
     * 客户订单号
     */
    private String oId;

    /**
     * 派车单号
     */
    private String cId;

    /**
     * 订单节点
     */
    private String node;

    public String getNode() {
        return node;
    }

    public void setNode(String node) {
        this.node = node;
    }

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getExceptionType() {
        return exceptionType;
    }

    public void setExceptionType(String exceptionType) {
        this.exceptionType = exceptionType;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getFeedbackMode() {
        return feedbackMode;
    }

    public void setFeedbackMode(String feedbackMode) {
        this.feedbackMode = feedbackMode;
    }
    public Date getDiscoveryTime() {
        return discoveryTime;
    }

    public void setDiscoveryTime(Date discoveryTime) {
        this.discoveryTime = discoveryTime;
    }
    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
    public String getExceptionDesc() {
        return exceptionDesc;
    }

    public void setExceptionDesc(String exceptionDesc) {
        this.exceptionDesc = exceptionDesc;
    }
    public String getProcessingProgress() {
        return processingProgress;
    }

    public void setProcessingProgress(String processingProgress) {
        this.processingProgress = processingProgress;
    }

    public String getDispatchNode() {
        return dispatchNode;
    }

    public void setDispatchNode(String dispatchNode) {
        this.dispatchNode = dispatchNode;
    }

    @Override
    public String toString() {
        return "ExceptionRegistration{" +
                "id='" + id + '\'' +
                ", exceptionType='" + exceptionType + '\'' +
                ", name='" + name + '\'' +
                ", feedbackMode='" + feedbackMode + '\'' +
                ", discoveryTime=" + discoveryTime +
                ", createdTime=" + createdTime +
                ", exceptionDesc='" + exceptionDesc + '\'' +
                ", processingProgress='" + processingProgress + '\'' +
                ", dispatchNode='" + dispatchNode + '\'' +
                ", oId='" + oId + '\'' +
                ", cId='" + cId + '\'' +
                ", node='" + node + '\'' +
                '}';
    }
}
